// samsting : this file is auto create.

#include "Emr/2015-09-10/CreateClusterRequest.h"

namespace aliyun { namespace Emr {

CreateClusterRequest::CreateClusterRequest() : RpcAcsRequest("Emr", "2015-09-10", "CreateCluster") {
}

const string& CreateClusterRequest::GetName(void) const {
  return Name_;
}
void CreateClusterRequest::SetName(const string& Name) {
  Name_ = Name;
  PutQueryParameter("Name", Name_);
}

const string& CreateClusterRequest::GetZoneId(void) const {
  return ZoneId_;
}
void CreateClusterRequest::SetZoneId(const string& ZoneId) {
  ZoneId_ = ZoneId;
  PutQueryParameter("ZoneId", ZoneId_);
}

bool CreateClusterRequest::GetLogEnable(void) const {
  return LogEnable_;
}
void CreateClusterRequest::SetLogEnable(bool LogEnable) {
  LogEnable_ = LogEnable;
  PutQueryParameter("LogEnable", string_ValueOfBool(LogEnable_));
}

const string& CreateClusterRequest::GetLogPath(void) const {
  return LogPath_;
}
void CreateClusterRequest::SetLogPath(const string& LogPath) {
  LogPath_ = LogPath;
  PutQueryParameter("LogPath", LogPath_);
}

const string& CreateClusterRequest::GetSecurityGroup(void) const {
  return SecurityGroup_;
}
void CreateClusterRequest::SetSecurityGroup(const string& SecurityGroup) {
  SecurityGroup_ = SecurityGroup;
  PutQueryParameter("SecurityGroup", SecurityGroup_);
}

bool CreateClusterRequest::GetIsOpenPublicIp(void) const {
  return IsOpenPublicIp_;
}
void CreateClusterRequest::SetIsOpenPublicIp(bool IsOpenPublicIp) {
  IsOpenPublicIp_ = IsOpenPublicIp;
  PutQueryParameter("IsOpenPublicIp", string_ValueOfBool(IsOpenPublicIp_));
}

const string& CreateClusterRequest::GetSecurityGroupName(void) const {
  return SecurityGroupName_;
}
void CreateClusterRequest::SetSecurityGroupName(const string& SecurityGroupName) {
  SecurityGroupName_ = SecurityGroupName;
  PutQueryParameter("SecurityGroupName", SecurityGroupName_);
}

const string& CreateClusterRequest::GetEmrVer(void) const {
  return EmrVer_;
}
void CreateClusterRequest::SetEmrVer(const string& EmrVer) {
  EmrVer_ = EmrVer;
  PutQueryParameter("EmrVer", EmrVer_);
}

const string& CreateClusterRequest::GetClusterType(void) const {
  return ClusterType_;
}
void CreateClusterRequest::SetClusterType(const string& ClusterType) {
  ClusterType_ = ClusterType;
  PutQueryParameter("ClusterType", ClusterType_);
}

const string& CreateClusterRequest::GetInstall(void) const {
  return Install_;
}
void CreateClusterRequest::SetInstall(const string& Install) {
  Install_ = Install;
  PutQueryParameter("Install", Install_);
}

int CreateClusterRequest::GetMasterIndex(void) const {
  return MasterIndex_;
}
void CreateClusterRequest::SetMasterIndex(int MasterIndex) {
  MasterIndex_ = MasterIndex;
  PutQueryParameter("MasterIndex", string_ValueOfInt(MasterIndex_));
}

const string& CreateClusterRequest::GetEcsOrder(void) const {
  return EcsOrder_;
}
void CreateClusterRequest::SetEcsOrder(const string& EcsOrder) {
  EcsOrder_ = EcsOrder;
  PutQueryParameter("EcsOrder", EcsOrder_);
}

int CreateClusterRequest::GetPayType(void) const {
  return PayType_;
}
void CreateClusterRequest::SetPayType(int PayType) {
  PayType_ = PayType;
  PutQueryParameter("PayType", string_ValueOfInt(PayType_));
}

int CreateClusterRequest::GetPeriod(void) const {
  return Period_;
}
void CreateClusterRequest::SetPeriod(int Period) {
  Period_ = Period;
  PutQueryParameter("Period", string_ValueOfInt(Period_));
}

const string& CreateClusterRequest::GetEmrRole4ECS(void) const {
  return EmrRole4ECS_;
}
void CreateClusterRequest::SetEmrRole4ECS(const string& EmrRole4ECS) {
  EmrRole4ECS_ = EmrRole4ECS;
  PutQueryParameter("EmrRole4ECS", EmrRole4ECS_);
}

const string& CreateClusterRequest::GetEmrRole4Oss(void) const {
  return EmrRole4Oss_;
}
void CreateClusterRequest::SetEmrRole4Oss(const string& EmrRole4Oss) {
  EmrRole4Oss_ = EmrRole4Oss;
  PutQueryParameter("EmrRole4Oss", EmrRole4Oss_);
}


} } // namespace aliyun { namespace Emr {

// end of file 
